import { Component, Input, OnInit } from '@angular/core';
import { Story } from 'src/classes/entities';
import { StoreService } from 'src/services/store.service';
import { UiService } from 'src/services/ui.service';

@Component({
  selector: 'app-storyinfo',
  templateUrl: './storyinfo.component.html',
  styleUrls: ['./storyinfo.component.scss']
})
export class StoryinfoComponent implements OnInit {

  constructor(public store: StoreService, public ui: UiService) { }

  ngOnInit(): void {
  }
  editmode: false
  @Input()
  public get target(): Story {
    return this.internalTarget;
  }

  public set target(v: Story) {
    this.internalTarget = v;
  }

  private internalTarget: Story;
}
